﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace Wekit.Model.Info
{
    [Serializable]
    public class Article
    {
        private ICollection<ArticleCategory> _categorys = new List<ArticleCategory>();

        /// <summary>
        /// 文章标题
        /// </summary>
        public virtual string Id { get; set; }

        /// <summary>
        /// 文章标题
        /// </summary>
        public virtual string Title { get; set; }

        /// <summary>
        /// 文章内容
        /// </summary>
        public virtual string Content { get; set; }

        /// <summary>
        /// 文章所述分类
        /// </summary>
        public virtual ICollection<ArticleCategory> Categorys
        {
            get
            {
                return _categorys;
            }
            set { this._categorys = value; }
        }

        /// <summary>
        /// 文章创建时间
        /// </summary>
        public virtual DateTime Created { get; set; }
    }
}
